package com.briup.estore.mapper;

import com.briup.estore.bean.Order;
import com.briup.estore.bean.ext.OrderExtend;
import com.briup.estore.dto.OrderPaySuccessDTO;
import com.briup.estore.dto.OrderSearchDTO;

import java.util.List;

public interface OrderMapper {

    void saveOrder(Order order);

    List<OrderExtend> selectOrderDetailByUserId(int userId, OrderSearchDTO orderSearchDTO);

    List<OrderExtend> orderlist(Integer userID);

    void paySuccess(OrderPaySuccessDTO paySuccessDTO);
}
